package com.huadi.cmcc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 
 * @TableName shopcar
 */
@TableName(value ="shopcar")
@Data
public class Shopcar implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private Long userid;

    /**
     *
     */
    private Long packageid;
    /**
     * 套餐名
     */
    @TableField(exist = false)
    private String packageName;
    /**
     * 套餐类型
     */
    @TableField(exist = false)
    private String packageType;
    /**
     * 价格
     */
    @TableField(exist = false)
    private BigDecimal price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}